package com.zlm.website.service.dao;

import com.zlm.common.base.BaseDao;
import com.zlm.website.service.entity.SysBannerDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * sys_banner轮播图Dao
 *
 * @Author: duyufu
 * @Date: 2019/3/18 10:42
 */
@Repository
public interface SysBannerDao extends BaseDao<SysBannerDO> {

    /**
     * 按类别获取轮播图列表
     *
     * @param type
     * @return
     */
    List<SysBannerDO> getEntityByType(@Param("type") Integer type);
}
